import {request} from "./request";

export function changePassword(id,newPassword) {
  return request({
    url: '/api/users/changepassword',
    method:'post',
    params: {
      id,
      newPassword
    }
  })
}